<template>
  <div>
    <div class="block interval" ref="contentToExport">
      <h2 class="title">{{ detailsObj.newTitle }}</h2>
      <div style="display: flex; align-items: center">
        <div class="time">{{ detailsObj.createTime }}</div>
        <div class="pdf" @click.stop="pdfStop()">
          <img src="../../assets/common/pdf-file_2.svg" alt="" />
        </div>
      </div>

      <div class="text">
        <p v-html="detailsObj.newContent"></p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      detailsObj: {},
    };
  },
  methods: {
    pdfHit(item) {
      this.detailsObj = item;
    },
  },
};
</script>

<style lang="less" scoped>

</style>